WebSocket: Lightweight Client-Server Communications (PaperBack)

WebSocket: Lightweight Client-Server Communications (PaperBack)

作者: Andrew Lombardi
出版社: O'Reilly
出版在: 2015-10-03
ISBN-13: 9781449369279
ISBN-10: 1449369278
裝訂格式: Paperback
總頁數: 144 頁





內容描述


Until recently, creating desktop-like applications in the browser meant using inefficient Ajax or Comet technologies to communicate with the server. With this practical guide, you’ll learn how to use WebSocket, a protocol that enables the client and server to communicate with each other on a single connection simultaneously. No more asynchronous communication or long polling!For developers with a good grasp of JavaScript (and perhaps Node.js), author Andrew Lombardi provides useful hands-on examples throughout the book to help you get up to speed with the WebSocket API. You’ll also learn how to use WebSocket with Transport Layer Security (TLS).Learn how to use WebSocket API events, messages, attributes, and methods within your client applicationBuild bi-directional chat applications on the client and server with WebSocket as the communication layerCreate a subprotocol over WebSocket for STOMP 1.0, the Simple Text Oriented Messaging ProtocolUse options for older browsers that don’t natively support WebSocketProtect your WebSocket application against various attack vectors with TLS and other toolsDebug applications by learning aspects of the WebSocket lifecycle




相關書籍

Practical Django 2 and Channels 2: Building Projects and Applications with Real-Time Capabilities

作者 Federico Marani

2015-10-03

HTML Manual of Style: A Clear, Concise Reference for Hypertext Markup Language (including HTML5), 4/e (Paperback)

作者 Larry Aronson

2015-10-03

資料故事時代:大數據時代的未來,將由資料「說書人」定義!亞馬遜、微軟等企業巨擘都在用

作者 Brent Dykes 洪慧芳 譯

2015-10-03